home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-11-13 | 2.6 KB | 72 lines |
- # Generated automatically from Makefile.in by configure.
- # ---------------------------------------------------------------------------
- # [incr Tcl] - Object-oriented programming in Tcl
- # ---------------------------------------------------------------------------
- # This file is a Makefile for [incr Tcl]. If it has the name "Makefile.in"
- # then it is a template for a Makefile; to generate the actual Makefile,
- # run "./configure", which is a configuration script generated by the
- # "autoconf" program (constructs like "@foo@" will get replaced in the
- # actual Makefile.
- # ---------------------------------------------------------------------------
-
- # ---------------------------------------------------------------------------
- # Things you can change to personalize the Makefile for your own site.
- # (You can make these changes in either Makefile.in or Makefile, but
- # changes to Makefile will get lost if you re-run the configuration script.)
- # ---------------------------------------------------------------------------
- # INSTALLATION DIRECTORIES
- # ---------------------------------------------------------------------------
-
- # Top-level directory in which to install machine-independent files:
- prefix = $(ROOT)/usr
-
- # Top-level directory for manual entries:
- MAN_DIR = $(prefix)/man
-
- # Directory in which to install manual entry for [incr Tcl]:
- MANN_DIR = $(MAN_DIR)/mann
-
- # ---------------------------------------------------------------------------
- # The information below is modified by the configure script when Makefile
- # is generated from Makefile.in. You shouldn't normally modify any of
- # this stuff by hand.
- # ---------------------------------------------------------------------------
-
- SRC_DIR = .
- VPATH = .
-
- # ---------------------------------------------------------------------------
- # The information below should be usable as is. The configure script
- # won't modify it and you shouldn't need to modify it either.
- # ---------------------------------------------------------------------------
-
- all:
-
- install:
- @for i in $(MAN_DIR) $(MANN_DIR) ; \
- do \
- if [ ! -d $$i ] ; then \
- echo "Making directory $$i"; \
- mkdir $$i; \
- chmod 755 $$i; \
- else true; \
- fi; \
- done;
- @cd $(SRC_DIR); for i in *.n; \
- do \
- echo "Installing $$i"; \
- rm -f $(MANN_DIR)/$$i; \
- sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
- $$i > $(MANN_DIR)/$$i; \
- chmod 444 $(MANN_DIR)/$$i; \
- done;
-
- Makefile: $(SRC_DIR)/Makefile.in
- $(SHELL) config.status
-
- clean:
- rm -f *.a *.o core errs *~ \#* TAGS *.E a.out errors
-
- distclean: clean
- rm -f Makefile config.status
-